package com.ruoyi.office.asset.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 资产位置新增请求
 * 
 * @author tqfeiyang
 * @date 2024-12-06
 */
@Data
public class AssetLocationCreateDto
{
    @Schema(description = "名称")
    @NotBlank(message = "名称不能为空")
    @Size(min = 0, max = 50, message = "名称不能超过50个字符")
    private String title;

    @Schema(description = "备注")
    @Size(min = 0, max = 200, message = "备注不能超过200个字符")
    private String remark;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "状态（0禁用 1启用）")
    private Integer status;

}
